package com.googlecode.mgwt.examples.showcase.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.googlecode.mgwt.examples.showcase.shared.ServiceCallDTO;
import com.googlecode.mgwt.examples.showcase.shared.exception.ElementExistsException;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {

	void createServiceCall(ServiceCallDTO serviceCall,AsyncCallback<Void> callback) ;

	void getAllCalls(AsyncCallback<List<ServiceCallDTO>> callback);

	void remoceCall(long serviceCallID, AsyncCallback<Void> callback);
	
}
